{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}E:\Dropbox\acad_afalco\terrorisme\IPOLTERROR\uesd_cis\submission_PSRM\Replication\Replication - Main\Replication_main_log.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}18 Feb 2025, 19:24:49
{txt}
{com}. 
. ********************************************************************************************************************************************************************************************
. *This is the code to replicate the results of the article "Voters rally around the incumbent in the aftermath of terrorist attacks: Evidence from multiple unexpected events during surveys"
. *Read the README.txt file first
. *February 18, 2025
. ********************************************************************************************************************************************************************************************
. 
. ***************************************
. use multipleuesd_terror_data.dta, clear
{txt}
{com}. ***************************************
. 
. quietly {c -(}
{txt}
{com}. 
. 
. 
. ***********************************************************************
. ******************************MAIN TEXT********************************
. ***********************************************************************
. 
. 
. *************************************************
. *Figure 1: Terrorist attacks in Spain, 1977-2008*
. *************************************************
. 
. *See script "Replication_Fig1Map_script.R"
. 
. 
. 
. ************************************************
. *Table 1: Construction of dataset: Restrictions*
. ************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. *Row 1
. distinct eventnum estu ep_date n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & checksingletons_event_r0>1 & checksingletons_reg_r0>1
{res}
{col 1}{text}{hline 10}{c TT}{hline 11}{hline 11}
{col 1}{text}         {col 11}{c |}     total{col 23}  distinct
{res}{col 1}{text}{hline 10}{c +}{hline 11}{hline 11}
{res}{col 1}{text} eventnum{col 11}{c |}{result}    956034{col 23}       186
{col 1}{text}     estu{col 11}{c |}{result}    956034{col 23}        68
{col 1}{text}  ep_date{col 11}{c |}{result}    956034{col 23}       123
{col 1}{text}        n{col 11}{c |}{result}    956034{col 23}    956034
{col 1}{text}{hline 10}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. distinct n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & post==0
{res}
{col 1}{text}{hline 3}{c TT}{hline 11}{hline 11}
{col 1}{text}  {col 4}{c |}     total{col 16}  distinct
{res}{col 1}{text}{hline 3}{c +}{hline 11}{hline 11}
{res}{col 1}{text} n{col 4}{c |}{result}    689568{col 16}    689568
{col 1}{text}{hline 3}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. distinct n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & post==1
{res}
{col 1}{text}{hline 3}{c TT}{hline 11}{hline 11}
{col 1}{text}  {col 4}{c |}     total{col 16}  distinct
{res}{col 1}{text}{hline 3}{c +}{hline 11}{hline 11}
{res}{col 1}{text} n{col 4}{c |}{result}    266466{col 16}    266466
{col 1}{text}{hline 3}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. 
. *Row 2
. distinct eventnum estu ep_date n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & checksingletons_event_r1>1 & checksingletons_reg_r1>1 & inrange(reldate,-30,30)
{res}
{col 1}{text}{hline 10}{c TT}{hline 11}{hline 11}
{col 1}{text}         {col 11}{c |}     total{col 23}  distinct
{res}{col 1}{text}{hline 10}{c +}{hline 11}{hline 11}
{res}{col 1}{text} eventnum{col 11}{c |}{result}    470970{col 23}       178
{col 1}{text}     estu{col 11}{c |}{result}    470970{col 23}        68
{col 1}{text}  ep_date{col 11}{c |}{result}    470970{col 23}       117
{col 1}{text}        n{col 11}{c |}{result}    470970{col 23}    470970
{col 1}{text}{hline 10}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. distinct n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & checksingletons_event_r1>1 & checksingletons_reg_r1>1 & inrange(reldate,-30,30) & post==0
{res}
{col 1}{text}{hline 3}{c TT}{hline 11}{hline 11}
{col 1}{text}  {col 4}{c |}     total{col 16}  distinct
{res}{col 1}{text}{hline 3}{c +}{hline 11}{hline 11}
{res}{col 1}{text} n{col 4}{c |}{result}    235790{col 16}    235790
{col 1}{text}{hline 3}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. distinct n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & checksingletons_event_r1>1 & checksingletons_reg_r1>1 & inrange(reldate,-30,30) & post==1
{res}
{col 1}{text}{hline 3}{c TT}{hline 11}{hline 11}
{col 1}{text}  {col 4}{c |}     total{col 16}  distinct
{res}{col 1}{text}{hline 3}{c +}{hline 11}{hline 11}
{res}{col 1}{text} n{col 4}{c |}{result}    235180{col 16}    235180
{col 1}{text}{hline 3}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. 
. *Row 3
. distinct eventnum estu ep_date n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & checksingletons_event_r2>1 & checksingletons_reg_r2>1 & inrange(reldate,-30,30) & pretreat7==0
{res}
{col 1}{text}{hline 10}{c TT}{hline 11}{hline 11}
{col 1}{text}         {col 11}{c |}     total{col 23}  distinct
{res}{col 1}{text}{hline 10}{c +}{hline 11}{hline 11}
{res}{col 1}{text} eventnum{col 11}{c |}{result}    344901{col 23}       174
{col 1}{text}     estu{col 11}{c |}{result}    344901{col 23}        68
{col 1}{text}  ep_date{col 11}{c |}{result}    344901{col 23}       114
{col 1}{text}        n{col 11}{c |}{result}    344901{col 23}    344901
{col 1}{text}{hline 10}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. distinct n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & checksingletons_event_r2>1 & checksingletons_reg_r2>1 & inrange(reldate,-30,30) & pretreat7==0 & post==0
{res}
{col 1}{text}{hline 3}{c TT}{hline 11}{hline 11}
{col 1}{text}  {col 4}{c |}     total{col 16}  distinct
{res}{col 1}{text}{hline 3}{c +}{hline 11}{hline 11}
{res}{col 1}{text} n{col 4}{c |}{result}    109723{col 16}    109723
{col 1}{text}{hline 3}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. distinct n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & checksingletons_event_r2>1 & checksingletons_reg_r2>1 & inrange(reldate,-30,30) & pretreat7==0 & post==1
{res}
{col 1}{text}{hline 3}{c TT}{hline 11}{hline 11}
{col 1}{text}  {col 4}{c |}     total{col 16}  distinct
{res}{col 1}{text}{hline 3}{c +}{hline 11}{hline 11}
{res}{col 1}{text} n{col 4}{c |}{result}    235178{col 16}    235178
{col 1}{text}{hline 3}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. 
. *Row 4
. distinct eventnum estu ep_date n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & checksingletons_event_r3>1 & checksingletons_reg_r3>1 & inrange(reldate,-30,30) & pretreat7==0 & good30==1
{res}
{col 1}{text}{hline 10}{c TT}{hline 11}{hline 11}
{col 1}{text}         {col 11}{c |}     total{col 23}  distinct
{res}{col 1}{text}{hline 10}{c +}{hline 11}{hline 11}
{res}{col 1}{text} eventnum{col 11}{c |}{result}    316802{col 23}       142
{col 1}{text}     estu{col 11}{c |}{result}    316802{col 23}        63
{col 1}{text}  ep_date{col 11}{c |}{result}    316802{col 23}        93
{col 1}{text}        n{col 11}{c |}{result}    316802{col 23}    316802
{col 1}{text}{hline 10}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. distinct n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & checksingletons_event_r3>1 & checksingletons_reg_r3>1 & inrange(reldate,-30,30) & pretreat7==0 & good30==1 & post==0
{res}
{col 1}{text}{hline 3}{c TT}{hline 11}{hline 11}
{col 1}{text}  {col 4}{c |}     total{col 16}  distinct
{res}{col 1}{text}{hline 3}{c +}{hline 11}{hline 11}
{res}{col 1}{text} n{col 4}{c |}{result}     98374{col 16}     98374
{col 1}{text}{hline 3}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. distinct n if voteinc!=. & post!=. & same_reg2!=. & CIS_reg!=. & id!=. & event!="" & checksingletons_event_r3>1 & checksingletons_reg_r3>1 & inrange(reldate,-30,30) & pretreat7==0 & good30==1 & post==1
{res}
{col 1}{text}{hline 3}{c TT}{hline 11}{hline 11}
{col 1}{text}  {col 4}{c |}     total{col 16}  distinct
{res}{col 1}{text}{hline 3}{c +}{hline 11}{hline 11}
{res}{col 1}{text} n{col 4}{c |}{result}    218428{col 16}    218428
{col 1}{text}{hline 3}{c BT}{hline 11}{hline 11}
{res}{txt}
{com}. 
. 
. 
. ******************************************************
. *Table 2: Effect of attacks on vote for the incumbent*
. ******************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. esttab inc*, replace noomitted label nonotes noobs nodepvar ///
>  mtitles("{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3" "{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3") ///
>  keep(1.post 1.same_reg2 1.post#1.same_reg2) ///
>  coeflabels(1.post "Post" 1.same_reg2 "Target region" 1.post#1.same_reg2 "Post * Target") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(controls attack_fe reg_fe N n_event_survey n_surveys n_attacks, label("Controls" "Attack FE" "Region FE" "N. of respondents" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 180}
{txt}                              (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)             (9)            (10)   
{txt}                      {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3     {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3   
{txt}{hline 180}
{txt}Post                {res}        -0.00           -0.00           -0.00            0.00            0.00           -0.00           -0.01           -0.00            0.00            0.00   {txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Target region       {res}        -0.03***        -0.03***        -0.05***        -0.05***        -0.06***        -0.09***        -0.10***        -0.10***        -0.08***        -0.08***{txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Post * Target       {res}         0.03***         0.02***         0.04***         0.03***         0.04**          0.03***         0.03***         0.05***         0.04***         0.03** {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}
{txt}{hline 180}
{txt}Controls            {res}           No              No              No              No              No             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Attack FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Region FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}N. of respondents   {res}      316,802         244,724         168,508          91,922          56,098         288,894         219,802         150,784          80,420          48,639   {txt}
{txt}N. of UESDs         {res}          142             129              87              56              50             137             124              82              52              46   {txt}
{txt}N. of surveys       {res}           63              62              50              38              37              61              60              48              36              35   {txt}
{txt}N. of attacks       {res}           93              87              62              40              34              90              84              59              37              31   {txt}
{txt}{hline 180}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
.  
. *******************************************************
. *Table 3: Effect of attacks on vote for the opposition*
. *******************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. esttab opp*, replace noomitted label nonotes noobs nodepvar ///
>  mtitles("{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3" "{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3") ///
>  keep(1.post 1.same_reg2 1.post#1.same_reg2) ///
>  coeflabels(1.post "Post" 1.same_reg2 "Target region" 1.post#1.same_reg2 "Post * Target") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(controls attack_fe reg_fe N n_event_survey n_surveys n_attacks, label("Controls" "Attack FE" "Region FE" "N. of respondents" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 180}
{txt}                              (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)             (9)            (10)   
{txt}                      {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3     {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3   
{txt}{hline 180}
{txt}Post                {res}         0.01**          0.01**          0.01            0.01            0.00            0.01**          0.01**          0.01*           0.00            0.01   {txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Target region       {res}         0.02***         0.03***         0.03***         0.04***         0.05***         0.07***         0.08***         0.09***         0.03           -0.04   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.04{txt:)}}   {txt}

{txt}Post * Target       {res}        -0.03***        -0.02**         -0.04***        -0.04**         -0.04*          -0.03***        -0.02**         -0.04**         -0.04**         -0.04*  {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}
{txt}{hline 180}
{txt}Controls            {res}           No              No              No              No              No             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Attack FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Region FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}N. of respondents   {res}      316,802         244,724         168,508          91,922          56,098         288,894         219,802         150,784          80,420          48,639   {txt}
{txt}N. of UESDs         {res}          142             129              87              56              50             137             124              82              52              46   {txt}
{txt}N. of surveys       {res}           63              62              50              38              37              61              60              48              36              35   {txt}
{txt}N. of attacks       {res}           93              87              62              40              34              90              84              59              37              31   {txt}
{txt}{hline 180}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
. 
. ******************************************************
. *Figure 2: Marginal effects of attacks on vote choice*
. ******************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. grc1leg combo_inc_hor_tocomb.gph combo_opp_hor_tocomb.gph, col(2) ycommon xcommon imargin(tiny) pos(6)
{res}{txt}
{com}. graph export figure_2.pdf, replace
{txt}{p 0 4 2}
file {bf}
figure_2.pdf{rm}
saved as
PDF
format
{p_end}

{com}. 
. 
. 
. *********************************************************************
. *Figure 3: Marginal effects of attacks, by target (10-day bandwidth)*
. *********************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. grc1leg target_inc_tocomb.gph target_opp_tocomb.gph, col(2) ycommon xcommon imargin(tiny) pos(6)
{res}{txt}
{com}. graph export figure_3.pdf, replace
{txt}{p 0 4 2}
file {bf}
figure_3.pdf{rm}
saved as
PDF
format
{p_end}

{com}. 
. 
. 
. **********************************************************************************************
. *Figure 4: Marginal effects of attacks on vote for right-wing vs left-wing state-wide parties*
. **********************************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. combomarginsplot RIGHTvsLEFT_c RIGHTvsLEFT_t, horiz labels("Another region" "Same region") recast(scatter) recastci(rspike) xline(0) scheme(538w) ///
>  plotopts(msize(medlarge)) ciopts(lwidth(thick)) ///
>  xtitle(" ", size(small)) xscale(titlegap(0))  ///
>  xlabel(-.1(0.02).1, labsize(small)) ///
>  title("Vote for RIGHT vs LEFT" " ", size(medium) pos(12)) ytitle("") ///
>  file1opts(mcolor(538b)) file2opts(mcolor(538r)) fileci1opts(lcolor(538b)) fileci2opts(lcolor(538r))  ///
>  legend(order(4 "Same region" 3 "Another region") row(1) pos(6)) ///
>  yscale(range(0.5 2.5) titlegap(+1)) offset(0.2)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: _filenumber _filenumber{p_end}
{res}{txt}
{com}. graph export figure_4.pdf, replace
{txt}{p 0 4 2}
file {bf}
figure_4.pdf{rm}
saved as
PDF
format
{p_end}

{com}. 
. 
. 
. *************************************************************************************
. *Figure 5: Marginal effects of attacks on vote for the incumbent, by incumbent party*
. *************************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. grc1leg PSOEinc10.gph PPinc10.gph, col(2) ycommon xcommon imargin(tiny) pos(6)
{res}{txt}
{com}. graph export figure_5.pdf, replace
{txt}{p 0 4 2}
file {bf}
figure_5.pdf{rm}
saved as
PDF
format
{p_end}

{com}. 
. 
. 
. ******************************************
. *Table 4: Effects on intention to abstain*
. ******************************************
. 
. quietly {c -(}
{txt}
{com}. 
. esttab abs*, replace noomitted label nonotes noobs nodepvar ///
>  mtitles("{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3" "{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3") ///
>  keep(1.post 1.same_reg2 1.post#1.same_reg2) ///
>  coeflabels(1.post "Post" 1.same_reg2 "Target region" 1.post#1.same_reg2 "Post * Target") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(controls attack_fe reg_fe N n_event_survey n_surveys n_attacks, label("Controls" "Attack FE" "Region FE" "N. of respondents" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 180}
{txt}                              (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)             (9)            (10)   
{txt}                      {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3     {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3   
{txt}{hline 180}
{txt}Post                {res}         0.01*           0.01*           0.01**          0.01*           0.01            0.00            0.01            0.01*           0.00            0.00   {txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Target region       {res}         0.01            0.00            0.01*           0.01            0.02            0.01            0.01            0.01            0.05*           0.08** {txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Post * Target       {res}        -0.00           -0.00           -0.02*          -0.00           -0.02           -0.00           -0.00           -0.02*          -0.00           -0.01   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}
{txt}{hline 180}
{txt}Controls            {res}           No              No              No              No              No             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Attack FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Region FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}N. of respondents   {res}      316,802         244,724         168,508          91,922          56,098         288,894         219,802         150,784          80,420          48,639   {txt}
{txt}N. of UESDs         {res}          142             129              87              56              50             137             124              82              52              46   {txt}
{txt}N. of surveys       {res}           63              62              50              38              37              61              60              48              36              35   {txt}
{txt}N. of attacks       {res}           93              87              62              40              34              90              84              59              37              31   {txt}
{txt}{hline 180}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
. 
. **************************************
. *Figure 6: Priming experiment results*
. **************************************
. 
. use surveyexperiment_terror_data.dta, clear
{txt}( )

{com}. 
. quietly {c -(}
{txt}
{com}. 
. catcibar rally, proportion over(tprime) ytitle("Percent") plotregion(lstyle(none)) ylabel(, gstyle(dot)) xlabel(, nogrid) legend(order(2 "Treatment" 1 "Control")) scheme(538w) /*needs manual edition of the yaxis*/
{txt}
{com}. graph export figure_6.pdf, replace
{txt}{p 0 4 2}
file {bf}
figure_6.pdf{rm}
saved as
PDF
format
{p_end}

{com}. 
. 
. 
. 
. ************************************************************************
. ********************************APPENDIX********************************
. ************************************************************************
. 
. use multipleuesd_terror_data.dta, clear
{txt}
{com}. 
. *******************************************
. *Table B1: UESD balance table (+/-30 days)*
. *******************************************
. 
. *Columns 1-6
. 
. quietly {c -(}
{txt}
{com}. 
. browse v1-v5 v7
{txt}
{com}. 
. *Column 7 (transposed)
. 
. use multipleuesd_terror_data.dta, clear
{txt}
{com}. 
. quietly {c -(}
{txt}
{com}. 
. esttab did*, keep(1.post#1.same_reg2) label nonotes noobs cells("b(fmt(%9.3f) star)")
{res}
{txt}{hline 260}
{txt}                              (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)             (9)            (10)            (11)            (12)            (13)            (14)            (15)   
{txt}                     Gender (Fe~)             Age       Education        Employed      Unemployed         Student         Retired       Housework         Less ..         2k-10..         10k-5..         50k-1..         100k-..         400k-..         More ..   
{txt}                                b               b               b               b               b               b               b               b               b               b               b               b               b               b               b   
{txt}{hline 260}
{txt}Post=1 # Target re~1{res}        0.004          -0.514          -0.027          -0.020*          0.008           0.006          -0.009           0.015*         -0.015**        -0.025***       -0.006           0.019***       -0.049***        0.041***        0.035***{txt}
{txt}{hline 260}

{com}. 
. 
. 
. ****************************************************************************
. *Table C1: Effect of attacks on vote for the incumbent (full model results)*
. ****************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. esttab inc*, replace noomitted label nonotes noobs nodepvar nobase ///
>  mtitles("{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3" "{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3") ///
>  coeflabels(1.post "Post" 1.same_reg2 "Target region" 1.post#1.same_reg2 "Post * Target") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(controls attack_fe reg_fe N n_event_survey n_surveys n_attacks, label("Controls" "Attack FE" "Region FE" "N. of respondents" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 180}
{txt}                              (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)             (9)            (10)   
{txt}                      {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3     {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3   
{txt}{hline 180}
{txt}Post                {res}        -0.00           -0.00           -0.00            0.00            0.00           -0.00           -0.01           -0.00            0.00            0.00   {txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Target region       {res}        -0.03***        -0.03***        -0.05***        -0.05***        -0.06***        -0.09***        -0.10***        -0.10***        -0.08***        -0.08***{txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Post * Target       {res}         0.03***         0.02***         0.04***         0.03***         0.04**          0.03***         0.03***         0.05***         0.04***         0.03** {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Gender (Female)=1   {res}                                                                                        -0.01***        -0.01***        -0.01***        -0.01***        -0.01** {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Age                 {res}                                                                                         0.00            0.00**          0.00            0.00            0.00   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Age sq.             {res}                                                                                        -0.00           -0.00*          -0.00*          -0.00           -0.00   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Education           {res}                                                                                        -0.01***        -0.01***        -0.01***        -0.01***        -0.01***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Lab. (unemployed)   {res}                                                                                        -0.01           -0.01*          -0.02**         -0.02*          -0.02*  {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Lab. (student)      {res}                                                                                        -0.04***        -0.04***        -0.04***        -0.04***        -0.05***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Lab. (retired)      {res}                                                                                         0.06***         0.06***         0.06***         0.06***         0.06***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Lab. (housework)    {res}                                                                                         0.01*           0.01*           0.01            0.02**          0.02** {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Lab. (unemployed) ~1{res}                                                                                        -0.01           -0.00           -0.01           -0.03*          -0.02   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Lab. (student) # T~1{res}                                                                                         0.00           -0.01           -0.01           -0.02           -0.00   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Lab. (retired) # T~1{res}                                                                                        -0.03**         -0.03***        -0.05***        -0.06***        -0.05** {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Lab. (housework) #~1{res}                                                                                         0.01            0.01            0.02           -0.01           -0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Pop. Muni. (2k-10k) {res}                                                                                         0.01            0.00            0.00            0.00            0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (10k-50k){res}                                                                                         0.01**          0.01*           0.02***         0.01            0.02   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (50k-10~){res}                                                                                         0.01            0.00            0.01           -0.00            0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (100k-4~){res}                                                                                         0.01            0.00            0.01**          0.00            0.00   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (400k-1M){res}                                                                                        -0.02**         -0.02**         -0.01           -0.01           -0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (>1M)    {res}                                                                                        -0.00            0.00            0.01            0.00            0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (2k-10k~={res}                                                                                         0.01            0.02            0.02           -0.00           -0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Pop. Muni. (10k-50~n{res}                                                                                         0.04**          0.04**          0.02           -0.00           -0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Pop. Muni. (50k-10~o{res}                                                                                         0.08***         0.09***         0.09***         0.06**          0.04   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Pop. Muni. (100k-4~i{res}                                                                                         0.07***         0.08***         0.07***         0.06***         0.05*  {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Pop. Muni. (400k-1~n{res}                                                                                         0.05*           0.06*           0.05            0.01           -0.02   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.04{txt:)}}   {txt}

{txt}Pop. Muni. (>1M) #~1{res}                                                                                         0.09***         0.08***         0.07***         0.06*           0.05   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Constant            {res}         0.28***         0.28***         0.29***         0.28***         0.27***         0.31***         0.29***         0.31***         0.29***         0.29***{txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}
{txt}{hline 180}
{txt}Controls            {res}           No              No              No              No              No             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Attack FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Region FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}N. of respondents   {res}      316,802         244,724         168,508          91,922          56,098         288,894         219,802         150,784          80,420          48,639   {txt}
{txt}N. of UESDs         {res}          142             129              87              56              50             137             124              82              52              46   {txt}
{txt}N. of surveys       {res}           63              62              50              38              37              61              60              48              36              35   {txt}
{txt}N. of attacks       {res}           93              87              62              40              34              90              84              59              37              31   {txt}
{txt}{hline 180}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
. 
. *****************************************************************************
. *Table C2: Effect of attacks on vote for the opposition (full model results)*
. *****************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. esttab opp*, replace noomitted label nonotes noobs nodepvar nobase ///
>  mtitles("{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3" "{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3") ///
>  coeflabels(1.post "Post" 1.same_reg2 "Target region" 1.post#1.same_reg2 "Post * Target") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(controls attack_fe reg_fe N n_event_survey n_surveys n_attacks, label("Controls" "Attack FE" "Region FE" "N. of respondents" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 180}
{txt}                              (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)             (9)            (10)   
{txt}                      {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3     {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3   
{txt}{hline 180}
{txt}Post                {res}         0.01**          0.01**          0.01            0.01            0.00            0.01**          0.01**          0.01*           0.00            0.01   {txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Target region       {res}         0.02***         0.03***         0.03***         0.04***         0.05***         0.07***         0.08***         0.09***         0.03           -0.04   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.04{txt:)}}   {txt}

{txt}Post * Target       {res}        -0.03***        -0.02**         -0.04***        -0.04**         -0.04*          -0.03***        -0.02**         -0.04**         -0.04**         -0.04*  {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Gender (Female)=1   {res}                                                                                        -0.03***        -0.03***        -0.03***        -0.03***        -0.03***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Age                 {res}                                                                                         0.01***         0.00***         0.01***         0.01***         0.00***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Age sq.             {res}                                                                                        -0.00***        -0.00***        -0.00***        -0.00***        -0.00***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Education           {res}                                                                                         0.02***         0.02***         0.02***         0.02***         0.02***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Lab. (unemployed)   {res}                                                                                        -0.02**         -0.01           -0.01*          -0.01           -0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Lab. (student)      {res}                                                                                         0.05***         0.05***         0.04***         0.03***         0.02*  {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Lab. (retired)      {res}                                                                                        -0.03***        -0.03***        -0.03***        -0.04***        -0.04***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Lab. (housework)    {res}                                                                                        -0.03***        -0.03***        -0.03***        -0.04***        -0.04***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Lab. (unemployed) ~1{res}                                                                                        -0.00           -0.00           -0.01            0.04            0.02   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Lab. (student) # T~1{res}                                                                                        -0.00            0.00           -0.01           -0.00            0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Lab. (retired) # T~1{res}                                                                                         0.03**          0.04**          0.02            0.05**          0.06** {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Lab. (housework) #~1{res}                                                                                        -0.00           -0.00           -0.02            0.01            0.04*  {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Pop. Muni. (2k-10k) {res}                                                                                        -0.03***        -0.02***        -0.02***        -0.03***        -0.03** {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (10k-50k){res}                                                                                        -0.04***        -0.03***        -0.04***        -0.04***        -0.04***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (50k-10~){res}                                                                                        -0.02**         -0.01*          -0.02**         -0.02           -0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (100k-4~){res}                                                                                        -0.03***        -0.03***        -0.03***        -0.03***        -0.02** {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (400k-1M){res}                                                                                        -0.02*          -0.02*          -0.03**         -0.04***        -0.04** {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (>1M)    {res}                                                                                        -0.03***        -0.03***        -0.03**         -0.02           -0.02   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (2k-10k~={res}                                                                                         0.01            0.00           -0.01            0.05            0.15***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.04{txt:)}}   {txt}

{txt}Pop. Muni. (10k-50~n{res}                                                                                        -0.03           -0.03           -0.02            0.03            0.12** {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.04{txt:)}}   {txt}

{txt}Pop. Muni. (50k-10~o{res}                                                                                        -0.07***        -0.08***        -0.07**         -0.01            0.09   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.05{txt:)}}   {txt}

{txt}Pop. Muni. (100k-4~i{res}                                                                                        -0.08***        -0.10***        -0.09***        -0.04            0.02   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.04{txt:)}}   {txt}

{txt}Pop. Muni. (400k-1~n{res}                                                                                         0.01            0.00            0.01            0.01            0.07   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.04{txt:)}}    {ralign 12:{txt:(}0.04{txt:)}}    {ralign 12:{txt:(}0.06{txt:)}}   {txt}

{txt}Pop. Muni. (>1M) #~1{res}                                                                                        -0.06**         -0.07***        -0.07**         -0.01            0.08   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.04{txt:)}}   {txt}

{txt}Constant            {res}         0.37***         0.38***         0.36***         0.38***         0.38***         0.24***         0.26***         0.23***         0.27***         0.28***{txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}
{txt}{hline 180}
{txt}Controls            {res}           No              No              No              No              No             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Attack FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Region FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}N. of respondents   {res}      316,802         244,724         168,508          91,922          56,098         288,894         219,802         150,784          80,420          48,639   {txt}
{txt}N. of UESDs         {res}          142             129              87              56              50             137             124              82              52              46   {txt}
{txt}N. of surveys       {res}           63              62              50              38              37              61              60              48              36              35   {txt}
{txt}N. of attacks       {res}           93              87              62              40              34              90              84              59              37              31   {txt}
{txt}{hline 180}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
. 
. **********************************************************************************************************
. *Table C3: Effect of attacks on vote for the incumbent and the opposition, by target (full model results)*
. **********************************************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. esttab target1 target2, replace noomitted label nonotes noobs nodepvar ///
>  drop(0.*  1.GTD_target) ///
>  coeflabels(1.post "Post" 1.same_reg2 "Target region" 1.post#1.same_reg2 "Post * Target") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(attack_fe reg_fe N n_event_survey n_surveys n_attacks, label("Attack FE" "Region FE" "N. of respondents" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 52}
{txt}                              (1)             (2)   
{txt}                          target1         target2   
{txt}{hline 52}
{txt}Post                {res}         0.00            0.00   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Target region=1     {res}        -0.01           -0.01   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Post=1 # Target re~1{res}         0.01            0.02   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Post=1 # Type of t~ {res}        -0.02*           0.03*  {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Post=1 # Type of t~a{res}        -0.01            0.00   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Target region=1 # ~t{res}        -0.11***         0.06** {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Target region=1 # ~t{res}        -0.03            0.10***{txt}
                    {res} {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Post=1 # Target re~ {res}         0.05**         -0.09** {txt}
                    {res} {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Post=1 # Target re~ {res}         0.05*          -0.15***{txt}
                    {res} {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Constant            {res}         0.29***         0.36***{txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}
{txt}{hline 52}
{txt}Attack FE           {res}          Yes             Yes   {txt}
{txt}Region FE           {res}          Yes             Yes   {txt}
{txt}N. of respondents   {res}      142,725         142,725   {txt}
{txt}N. of UESDs         {res}           77              77   {txt}
{txt}N. of surveys       {res}           49              49   {txt}
{txt}N. of attacks       {res}           53              53   {txt}
{txt}{hline 52}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
. 
. **************************************************************************
. *Table C4: Effect of attacks on intention to abstain (full model results)*
. **************************************************************************
. 
. quietly {c -(}       
{txt}
{com}. 
. esttab abs*, replace noomitted label nonotes noobs nodepvar nobase ///
>  mtitles("{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3" "{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3") ///
>  coeflabels(1.post "Post" 1.same_reg2 "Target region" 1.post#1.same_reg2 "Post * Target") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(controls attack_fe reg_fe N n_event_survey n_surveys n_attacks, label("Controls" "Attack FE" "Region FE" "N. of respondents" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 180}
{txt}                              (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)             (9)            (10)   
{txt}                      {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3     {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3   
{txt}{hline 180}
{txt}Post                {res}         0.01*           0.01*           0.01**          0.01*           0.01            0.00            0.01            0.01*           0.00            0.00   {txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Target region       {res}         0.01            0.00            0.01*           0.01            0.02            0.01            0.01            0.01            0.05*           0.08** {txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Post * Target       {res}        -0.00           -0.00           -0.02*          -0.00           -0.02           -0.00           -0.00           -0.02*          -0.00           -0.01   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Gender (Female)=1   {res}                                                                                        -0.00           -0.00           -0.00            0.00            0.00   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Age                 {res}                                                                                        -0.01***        -0.01***        -0.01***        -0.01***        -0.01***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Age sq.             {res}                                                                                         0.00***         0.00***         0.00***         0.00***         0.00***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Education           {res}                                                                                        -0.00           -0.00           -0.00           -0.00           -0.00   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Lab. (unemployed)   {res}                                                                                         0.02***         0.01***         0.02***         0.02***         0.02***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Lab. (student)      {res}                                                                                        -0.03***        -0.03***        -0.03***        -0.02***        -0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Lab. (retired)      {res}                                                                                        -0.02***        -0.02***        -0.02***        -0.02***        -0.02***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Lab. (housework)    {res}                                                                                         0.00           -0.00           -0.00           -0.00           -0.00   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}   {txt}

{txt}Lab. (unemployed) ~1{res}                                                                                         0.02            0.01            0.02            0.00            0.02   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Lab. (student) # T~1{res}                                                                                         0.00            0.01            0.02            0.03            0.02   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Lab. (retired) # T~1{res}                                                                                        -0.01           -0.01           -0.00           -0.01           -0.02   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Lab. (housework) #~1{res}                                                                                        -0.02**         -0.02**         -0.02*          -0.03**         -0.04*  {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Pop. Muni. (2k-10k) {res}                                                                                         0.00            0.00            0.00            0.00            0.00   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (10k-50k){res}                                                                                         0.01**          0.01**          0.01*           0.01            0.00   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (50k-10~){res}                                                                                         0.02***         0.02***         0.02***         0.03***         0.02** {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (100k-4~){res}                                                                                         0.02***         0.02***         0.02***         0.03***         0.02***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (400k-1M){res}                                                                                         0.04***         0.04***         0.04***         0.04***         0.03***{txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (>1M)    {res}                                                                                         0.02***         0.02***         0.02***         0.02**          0.01   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Pop. Muni. (2k-10k~={res}                                                                                         0.01            0.00            0.01           -0.02           -0.03   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Pop. Muni. (10k-50~n{res}                                                                                         0.01            0.01            0.02           -0.01           -0.03   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Pop. Muni. (50k-10~o{res}                                                                                        -0.02           -0.02           -0.02           -0.06*          -0.09** {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Pop. Muni. (100k-4~i{res}                                                                                        -0.00           -0.00           -0.01           -0.04           -0.05   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Pop. Muni. (400k-1~n{res}                                                                                        -0.05**         -0.05**         -0.06**         -0.08*          -0.08   {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.05{txt:)}}   {txt}

{txt}Pop. Muni. (>1M) #~1{res}                                                                                        -0.00            0.00            0.01           -0.06*          -0.07*  {txt}
                    {res}                                                                                 {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}   {txt}

{txt}Constant            {res}         0.09***         0.09***         0.09***         0.10***         0.09***         0.25***         0.26***         0.27***         0.25***         0.23***{txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}
{txt}{hline 180}
{txt}Controls            {res}           No              No              No              No              No             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Attack FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Region FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}N. of respondents   {res}      316,802         244,724         168,508          91,922          56,098         288,894         219,802         150,784          80,420          48,639   {txt}
{txt}N. of UESDs         {res}          142             129              87              56              50             137             124              82              52              46   {txt}
{txt}N. of surveys       {res}           63              62              50              38              37              61              60              48              36              35   {txt}
{txt}N. of attacks       {res}           93              87              62              40              34              90              84              59              37              31   {txt}
{txt}{hline 180}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
.  
. *********************************************************************************
. *Table D1: Effects on vote for the incumbent with different pretreatment windows*
. *********************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. esttab pretreat*, replace noomitted label nonotes noobs nodepvar ///
>  mtitles("No" "1w" "2w" "3w" "1m" "No" "1w" "2w" "3w" "1m") ///
>  keep(1.post 1.same_reg2 1.post#1.same_reg2) ///
>  coeflabels(1.post "Post" 1.same_reg2 "Target region" 1.post#1.same_reg2 "Post * Target") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(controls attack_fe reg_fe N n_pre n_event_survey n_surveys n_attacks, label("Controls" "Attack FE" "Region FE" "N. of respondents" "N. in control" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 180}
{txt}                              (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)             (9)            (10)   
{txt}                               No              1w              2w              3w              1m              No              1w              2w              3w              1m   
{txt}{hline 180}
{txt}Post                {res}         0.00           -0.00           -0.00           -0.00           -0.01           -0.00           -0.00           -0.00           -0.01           -0.01   {txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Target region       {res}        -0.03***        -0.05***        -0.05***        -0.04***        -0.04***        -0.07***        -0.10***        -0.10***        -0.09***        -0.09***{txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Post * Target       {res}         0.02***         0.04***         0.05***         0.03***         0.03***         0.02***         0.05***         0.04***         0.03***         0.04***{txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}
{txt}{hline 180}
{txt}Controls            {res}           No              No              No              No              No             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Attack FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Region FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}N. of respondents   {res}      267,298         168,508         155,675         150,845         149,143         240,329         150,784         142,873         138,134         136,509   {txt}
{txt}N. in control       {res}       147353           64383           51554           46724           45022          132920           58283           50376           45637           44012   {txt}
{txt}N. of UESDs         {res}          114              87              83              83              83             109              82              78              78              78   {txt}
{txt}N. of surveys       {res}           56              50              48              48              48              54              48              46              46              46   {txt}
{txt}N. of attacks       {res}           84              62              59              59              59              81              59              56              56              56   {txt}
{txt}{hline 180}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
. 
. ***********************************************************************************************************
. *Table D2: Effect of attacks on vote for the incumbent (excluding surveys of incumbent transition periods)*
. ***********************************************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. esttab incnotrans*, replace noomitted label nonotes noobs nodepvar ///
>  mtitles("{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3" "{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3") ///
>  keep(1.post 1.same_reg2 1.post#1.same_reg2) ///
>  coeflabels(1.post "Post" 1.same_reg2 "Target region" 1.post#1.same_reg2 "Post * Target") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(controls attack_fe reg_fe N n_event_survey n_surveys n_attacks, label("Controls" "Attack FE" "Region FE" "N. of respondents" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 180}
{txt}                              (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)             (9)            (10)   
{txt}                      {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3     {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3   
{txt}{hline 180}
{txt}Post                {res}        -0.00           -0.00           -0.00            0.00            0.00           -0.00           -0.01           -0.00            0.00            0.00   {txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Target region       {res}        -0.03***        -0.03***        -0.05***        -0.05***        -0.06***        -0.09***        -0.10***        -0.10***        -0.08***        -0.08***{txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Post * Target       {res}         0.03***         0.03***         0.04***         0.03***         0.04**          0.04***         0.03***         0.05***         0.04***         0.03** {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}
{txt}{hline 180}
{txt}Controls            {res}           No              No              No              No              No             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Attack FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Region FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}N. of respondents   {res}      307,920         241,370         168,508          91,922          56,098         280,232         216,538         150,784          80,420          48,639   {txt}
{txt}N. of UESDs         {res}          138             126              87              56              50             133             121              82              52              46   {txt}
{txt}N. of surveys       {res}           62              61              50              38              37              60              59              48              36              35   {txt}
{txt}N. of attacks       {res}           91              86              62              40              34              88              83              59              37              31   {txt}
{txt}{hline 180}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
. 
. ****************************************************************
. *Table D3: Effects on non-responses (Don't Knows / No Opinions)*
. ****************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. esttab dk*, replace noomitted label nonotes noobs nodepvar ///
>  mtitles("{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3" "{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3") ///
>  keep(1.post 1.same_reg2 1.post#1.same_reg2) ///
>  coeflabels(1.post "Post" 1.same_reg2 "Target region" 1.post#1.same_reg2 "Post * Target") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(controls attack_fe reg_fe N n_event_survey n_surveys n_attacks, label("Controls" "Attack FE" "Region FE" "N. of respondents" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 180}
{txt}                              (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)             (9)            (10)   
{txt}                      {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3     {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3   
{txt}{hline 180}
{txt}Post                {res}        -0.02***        -0.02***        -0.02***        -0.02**         -0.01**         -0.02***        -0.01**         -0.02**         -0.01*          -0.01*  {txt}
                    {res} {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Target region       {res}        -0.00            0.00            0.00            0.00           -0.01            0.01            0.01            0.00           -0.00            0.04   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.04{txt:)}}   {txt}

{txt}Post * Target       {res}         0.00           -0.00            0.01            0.01            0.02           -0.00           -0.00            0.01            0.00            0.02   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}
{txt}{hline 180}
{txt}Controls            {res}           No              No              No              No              No             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Attack FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Region FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}N. of respondents   {res}      316,802         244,724         168,508          91,922          56,098         288,894         219,802         150,784          80,420          48,639   {txt}
{txt}N. of UESDs         {res}          142             129              87              56              50             137             124              82              52              46   {txt}
{txt}N. of surveys       {res}           63              62              50              38              37              61              60              48              36              35   {txt}
{txt}N. of attacks       {res}           93              87              62              40              34              90              84              59              37              31   {txt}
{txt}{hline 180}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
. 
. ********************************************************************************
. *Table D4: Placebo treatment effects on vote for the incumbent against baseline*
. ********************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. esttab plac1 plac2 plac3 base1 plac4 plac5 plac6 base2, replace noomitted label nonotes noobs nodepvar ///
>  mtitles("-7" "-5" "-3" "base" "-7" "-5" "-3" "base") ///
>  keep(1.post_plac 1.same_reg2 1.post_plac#1.same_reg2) ///
>  coeflabels(1.post_plac "Post" 1.same_reg2 "Same region" 1.post_plac#1.same_reg2 "Post * Region") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(controls attack_fe reg_fe N n_event_survey n_surveys n_attacks, label("Controls" "Attack FE" "Region FE" "N. of respondents" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 148}
{txt}                              (1)             (2)             (3)             (4)             (5)             (6)             (7)             (8)   
{txt}                               -7              -5              -3            base              -7              -5              -3            base   
{txt}{hline 148}
{txt}Post                {res}         0.00           -0.00            0.01            0.00            0.00           -0.00            0.01            0.00   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Same region         {res}         0.01           -0.04*          -0.04***        -0.06***        -0.07           -0.12***        -0.07***        -0.08***{txt}
                    {res} {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.05{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}   {txt}

{txt}Post * Region       {res}        -0.04            0.00           -0.01            0.04**         -0.04            0.01           -0.01            0.03** {txt}
                    {res} {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.03{txt:)}}    {ralign 12:{txt:(}0.02{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}
{txt}{hline 148}
{txt}Controls            {res}           No              No              No              No             Yes             Yes             Yes             Yes   {txt}
{txt}Attack FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Region FE           {res}          Yes             Yes             Yes             Yes             Yes             Yes             Yes             Yes   {txt}
{txt}N. of respondents   {res}       26,037          45,016          54,857          56,098          24,789          41,137          48,964          48,639   {txt}
{txt}N. of UESDs         {res}           59              69              75              50              56              64              69              46   {txt}
{txt}N. of surveys       {res}           39              43              45              37              36              40              43              35   {txt}
{txt}N. of attacks       {res}           44              52              51              34              42              48              47              31   {txt}
{txt}{hline 148}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
. 
. ***************************************************************************
. *Table D5: Effect of attacks on vote for the incumbent (entropy balancing)*
. ***************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. esttab match*, replace noomitted label nonotes noobs nodepvar ///
>  mtitles("{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3" "{c -(}&plusmn{c )-}30" "{c -(}&plusmn{c )-}20" "{c -(}&plusmn{c )-}10" "{c -(}&plusmn{c )-}5" "{c -(}&plusmn{c )-}3") ///
>  keep(1.post 1.same_reg2 1.post#1.same_reg2) ///
>  coeflabels(1.post "Post" 1.same_reg2 "Target region" 1.post#1.same_reg2 "Post * Target") ///
>  b(%9.2f) se(%9.2f) ///
>  stats(attack_fe reg_fe N n_event_survey n_surveys n_attacks, label("Controls" "Attack FE" "Region FE" "N. of respondents" "N. of UESDs" "N. of surveys" "N. of attacks") fmt(%12.0gc)) ///
>  addnotes("Standard errors in parentheses" "\sym{c -(}*{c )-} \(p<.05\), \sym{c -(}**{c )-} \(p<.01\), \sym{c -(}***{c )-} \(p<.001\).")
{res}
{txt}{hline 100}
{txt}                              (1)             (2)             (3)             (4)             (5)   
{txt}                      {&plusmn}30     {&plusmn}20     {&plusmn}10      {&plusmn}5      {&plusmn}3   
{txt}{hline 100}
{txt}Post                {res}        -0.01           -0.01           -0.01           -0.00            0.00   {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.00{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Target region       {res}        -0.03***        -0.04***        -0.06***        -0.06***        -0.06***{txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}

{txt}Post * Target       {res}         0.03***         0.03***         0.05***         0.04***         0.04** {txt}
                    {res} {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}    {ralign 12:{txt:(}0.01{txt:)}}   {txt}
{txt}{hline 100}
{txt}Controls            {res}          Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Attack FE           {res}          Yes             Yes             Yes             Yes             Yes   {txt}
{txt}Region FE           {res}      288,894         219,802         150,784          80,420          48,639   {txt}
{txt}N. of respondents   {res}          137             124              82              52              46   {txt}
{txt}N. of UESDs         {res}           61              60              48              36              35   {txt}
{txt}N. of surveys       {res}           90              84              59              37              31   {txt}
{txt}{hline 100}
{txt}Standard errors in parentheses
{txt}\sym{*} \(p<.05\), \sym{**} \(p<.01\), \sym{***} \(p<.001\).

{com}. 
. 
. 
. ***************************************************************************
. *Figure D1: Marginal effects of attacks on vote choice (entropy balancing)*
. ***************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. combomarginsplot match_other match_same, horiz labels("Another region" "Same region") recast(scatter) recastci(rspike) xline(0) scheme(538w) ///
>  plotopts(msize(medlarge)) ciopts(lwidth(thick)) ///
>  xtitle(" ", size(small)) xscale(titlegap(0))  ///
>  xlabel(-.1(0.02).1, labsize(small)) ///
>  title("Vote for the incumbent" " ", size(medium) pos(12)) ytitle("Bandwidths") ///
>  file1opts(mcolor(538b)) file2opts(mcolor(538r)) fileci1opts(lcolor(538b)) fileci2opts(lcolor(538r))  ///
>  legend(order(4 "Same region" 3 "Another region") row(1) pos(6)) ///
>  yscale(range(0.5 5.5) titlegap(+1)) offset(0.2)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: _filenumber _filenumber{p_end}
{res}{txt}
{com}. 
. 
. 
. ********************************************************************************
. *Table D6: Effect of false attacks on vote for the incumbent (5 randomizations)*
. ********************************************************************************
. 
. *See script "Replication_sectionD6.do"
. 
. 
. 
. **********************************************************************************
. *Table D7: Effect of false attacks on vote for the incumbent (100 randomizations)*
. **********************************************************************************
. 
. *See script "Replication_sectionD6.do"
. 
. 
. 
. *******************************
. *Figure E1: Day-by-day results*
. *******************************
. 
. quietly {c -(}
{txt}
{com}. 
. combomarginsplot pred_other_all pred_same_all did_all, yline(0) xline(29.5, lpattern(solid) lcolor(black) lwidth(medium)) recastci(rspike) scheme(538w) ///
>  plotopts(msize(medium)) ciopts(lwidth(medthick)) ///
>  xtitle("Relative date of interview", size(small)) xscale(range(22.75 36.25) titlegap(+2))  ///
>  ytitle("Predicted Incumbent Vote", size(small))  /// * xlabel(27 28 29, labsize(small)) ///
>  title("", size(medium)) ///
>  yscale(range(-.1 0.35) titlegap(+1)) ylabel(-.1(.1).3) ///
>  legend(order(5 "Same region" 4 "Another region" 6 "DiD (wrt day -1)")) ///
>  file1opts(mcolor(538b) lcolor(538b)) fileci1opts(lcolor(none)) file2opts(mcolor(538r) lcolor(538r)) fileci2opts(lcolor(none)) file3opts(mcolor(538g) lcolor(538g)) fileci3opts(lcolor(538g))  ///
>  offset(0)
{txt}Warning: statistics differ for {res}same_reg2{txt}: file {res}1{txt}={res}value{txt}, file {res}3{txt}={res}asobserved{txt};  using first ({res}value{txt})
{txt}Warning: statistics differ for {res}same_reg2{txt}: file {res}2{txt}={res}value{txt}, file {res}3{txt}={res}asobserved{txt};  using first ({res}value{txt})
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: reldateref30 _filenumber{p_end}
{res}{txt}
{com}. graph export figure_e1.pdf, replace
{txt}{p 0 4 2}
file {bf}
figure_e1.pdf{rm}
saved as
PDF
format
{p_end}

{com}. 
. quietly {c -(}
{txt}
{com}. 
. 
. 
. ***************************************************************************************************************
. *Figure F1: Marginal effects of attacks on vote for for the incumbent (excluding Basque Country and Catalonia)*
. ***************************************************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. grc1leg noBC_inc.gph noCAT_inc.gph noBCnoCAT_inc.gph, col(3) ycommon xcommon imargin(tiny) pos(6)
{res}{txt}
{com}. graph export figure_f1.pdf, replace
{txt}{p 0 4 2}
file {bf}
figure_f1.pdf{rm}
saved as
PDF
format
{p_end}

{com}. 
. 
. 
. *****************************************************************************************
. *Figure F2: Marginal effects of attacks on vote for state-wide vs non-state-wide parties*
. *****************************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. combomarginsplot swp_c swp_t, horiz labels("Another region" "Same region") recast(scatter) recastci(rspike) xline(0) scheme(538w) ///
>  plotopts(msize(medlarge)) ciopts(lwidth(thick)) ///
>  xtitle(" ", size(small)) xscale(titlegap(0))  ///
>  xlabel(-.1(0.02).1, labsize(small)) ///
>  title("Vote for a SWP" " ", size(medium) pos(12)) ytitle("") ///
>  file1opts(mcolor(538b)) file2opts(mcolor(538r)) fileci1opts(lcolor(538b)) fileci2opts(lcolor(538r))  ///
>  legend(order(4 "Same region" 3 "Another region") row(1) pos(6)) ///
>  yscale(range(0.5 2.5) titlegap(+1)) offset(0.2)
{res}
{text}{p 2 6 2}Variables that uniquely identify margins: _filenumber _filenumber{p_end}
{res}{txt}
{com}. graph export figure_f2.pdf, replace
{txt}{p 0 4 2}
file {bf}
figure_f2.pdf{rm}
saved as
PDF
format
{p_end}

{com}. 
.  
. 
. ****************************************************************************
. *Figure F3: Marginal effects of attacks on vote for incumbent, by lethality*
. ****************************************************************************
. 
. quietly {c -(}
{txt}
{com}. 
. grc1leg severity_nc.gph severity_wc.gph, col(2) ycommon xcommon imargin(tiny)
{res}{txt}
{com}. graph export figure_f3.pdf, replace
{txt}{p 0 4 2}
file {bf}
figure_f3.pdf{rm}
saved as
PDF
format
{p_end}

{com}. 
. 
. 
. quietly {c -(}
{txt}
{com}. 
. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}E:\Dropbox\acad_afalco\terrorisme\IPOLTERROR\uesd_cis\submission_PSRM\Replication\Replication - Main\Replication_main_log.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}18 Feb 2025, 20:26:06
{txt}{.-}
{smcl}
{txt}{sf}{ul off}